package com.neusoft.demo2;

import java.util.Scanner;

public class ConDemo2 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个数：");
        int x = input.nextInt();
        switch (x) {
            case 1:
//                System.out.println("登录");
//                break;
//            case 2:
//                System.out.println("注册");
//                break;
//            case 3:
//                System.out.println("抽奖");
//                break;
            default:
                System.out.println("error");
                break;
        }
    }
}
